package com.guchenbo.tomcat7;

import org.apache.catalina.startup.Catalina;

public class Demo {
    public static void main(String[] args) {
        /*
        使用maven的tomcat7启动，然后部署studywebapp的webapp
        tomcat7 servlet3.0
         */
        // -Dcatalina.base=/Users/guchenbo/projects/personal/gitee/gucb/tomcat-undress/studywebapp
        Catalina catalina = new Catalina();
        catalina.setAwait(true);
        catalina.start();
    }
}
